package com.hqyj.springCloudAccount.entity;

import com.hqyj.entity.account.User;
import com.hqyj.entity.test.City;

import javax.persistence.Transient;

/**
 * @author yun
 * @date 2021-5-11 16:22
 */
public class UserVo extends User {
    //防止项目启动时在数据库进行映射
    @Transient
    private City city;

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }
}
